﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="iso-8859-1" />
    <title>@ViewBag.Title - SGCC</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    @Styles.Render("~/Content/css")
    @Styles.Render("~/Content/themes/base/css")
    @Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/js")
    @Scripts.Render("~/bundles/jqueryui")
    @Scripts.Render("~/bundles/jqueryval")
    <script src="~/Scripts/knockout-2.2.0.js"></script>
    <link href="~/Content/icons/icons16.css" rel="stylesheet" />
    <link href="~/Content/table.css" rel="stylesheet" />
    <link href="~/Content/base.css" rel="stylesheet" />
</head>
<body>
    <header>
        <div class="content-wrapper divHeader">
            <div class="float-left">
                <img id="imgLogo" src="~/Images/logo-1.png" />
                <label id="lblLogo">Sistema de Gestão de Construção Civil</label>
            </div>
            <div class="float-right">
                <nav>
                    <ul id="menu">
                        <li>@Html.ActionLink("Home", "Index", "Home")</li>
                        
                        <li>@Html.ActionLink("Funcionários", "Index", "Funcionario")</li>
                        <li>@Html.ActionLink("Obras", "Index", "Obra")</li>
                    </ul>
                </nav>
            </div>
        </div>
    </header>
    <div id="body">
        @RenderSection("featured", required: false)
        <section class="content-wrapper main-content clear-fix">
            <div id="div-avisos">
                @if (ViewBag.sucesso != null)
                {               
                    <label class="lbl-avisos lbl-sucesso"><img class="icon-aviso" src="~/Content/icons/icons16/accept.png"/>@ViewBag.sucesso</label>
                }
                @if (ViewBag.erro != null)
                {               
                    <label class="lbl-avisos lbl-erro"><img class="icon-aviso" src="~/Content/icons/icons16/cross.png"/>@ViewBag.erro</label>
                }
                @if (ViewBag.alerta != null)
                {               
                    <label class="lbl-avisos lbl-alerta"><img class="icon-aviso" src="~/Content/icons/icons16/error.png"/>@ViewBag.alerta</label>
                }
            </div>
            @RenderBody()

        </section>
    </div>
    <footer>
        <div class="content-wrapper">
            <div class="float-left">
                <p>&copy; @DateTime.Now.Year - Sistema de Gestão de Construção Civil</p>
            </div>
        </div>
    </footer>
    
    @RenderSection("scripts", required: false)
</body>
</html>
